save To String
abstract suspend fun saveToString(blocks: List<DesignBlock>, allowedResourceSchemes: List<String> = listOf("bundle", "file", "http", "https")): String
Saves the given blocks to a proprietary string. If a resource uri has a scheme that is not in allowedResourceSchemes, an exception will be thrown. Note: All given block handles must be valid, otherwise an exception will be thrown.
Return
a string representation of the blocks.
Parameters
blocks
the blocks to save.
allowed Resource Schemes
the list of allowed resource schemes in the scene.